<template>
    <div>
        <van-search v-model="value" placeholder="输入分类关键字" />
        <van-index-bar>
            <van-index-anchor index="A" />
            <van-cell title="文本" />
            <van-cell title="文本" />
            <van-cell title="文本" />

            <van-index-anchor index="B" />
            <van-cell title="文本" />
            <van-cell title="文本" />
            <van-cell title="文本" />
        </van-index-bar>
    </div>
</template>

<script>
    export default {
        name: "Kinds",
        data() {
            return {

            };
        }, methods: {
            onChange(index) {
                console.log(index);
            }
        },
    }
</script>

<style scoped>

</style>
